package com.TestDemo.Test2;

import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2021/10/14/20:58
 * @Description:
 * @Target: A的值给B,B的给C
 */
public class ABTest {
    public static void main(String[] args) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException, ClassNotFoundException {
        int A = 1;
        int B = A;
        int C = B;




        Class<ABTest> abTestClass = ABTest.class;
        Constructor<ABTest> constructor = abTestClass.getConstructor(null);

        ABTest abTest = constructor.newInstance();

        Class<?> aClass = Class.forName("ABTest.class");


    }

}
